package com.xxg.fileshand.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.xxg.fileshand.R
import com.xxg.fileshand.bean.ArchiveInfoDTO

/**
 * Create by Sxl on 2021/12/30.
 */
class InventoryAdapter : BaseQuickAdapter<ArchiveInfoDTO, BaseViewHolder>(R.layout.item_files),
    LoadMoreModule {
    override fun convert(helper: BaseViewHolder, item: ArchiveInfoDTO) {
        helper.setText(R.id.tv_name, item.daName)
            .setText(R.id.tv_code, item.daCode)
    }
}